package com.str.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.str.pojo.SystemMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 系统菜单表(SystemMenu)表数据库访问层
 *
 * @author makejava
 * @since 2023-04-14 17:31:55
 */
@Mapper
public interface SystemMenuDao extends BaseMapper<SystemMenu> {

    /**
     * 根据角色查询响应的菜单信息
     * @param roleId
     * @return
     */
    List<SystemMenu> queryMenuByRoleId(@Param("roleId") String roleId);
}

